package com.my.demo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.my.demo.mapper.EnterpriseUserMapper;
import com.my.demo.pojo.EnterpriseUser;
import com.my.demo.service.EnterpriseUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class EnterpriseUserServiceImpl extends ServiceImpl<EnterpriseUserMapper, EnterpriseUser>
        implements EnterpriseUserService {

  @Autowired
  EnterpriseUserMapper enterpriseUserMapper;
  @Override
  public Integer getType(Integer spaceNo, Integer userId) {
    return enterpriseUserMapper.getType(spaceNo,userId);
  }
}
